import request from '@/utils/request'

/*
 * @Date: 2021-12-15 21:24:23
 * @LastEditors: LeeKing
 * @LastEditTime: 2021-12-19 15:27:57
 * @FilePath: \admin\src\api\authority.js
 */

/**
 *
 * @returns 所有权限列表
 */
export function getAuthorityList(type) {
  return request({
    url: 'rights/' + type
  })
}
